package com.crm.system.service.internalTrainingManager;

import com.crm.common.model.DhPageInfo;
import com.crm.model.entity.internalTrainingManager.NxFollow;
import com.crm.model.qo.internalTrainingManager.NxFollowQO;
import com.crm.model.vo.internalTrainingManager.NxFollowVO;

/**
 * @Author renshaorong
 * @Date 2021/09/14 4:10 下午
 */
public interface NxFollowService {

    /**
     * 插入跟进记录
     * @param nxFollow
     * @return
     */
    boolean insertNxFollow(NxFollow nxFollow);

    /**
     * 跟进记录
     * @param pageIndex
     * @param pageSize
     * @param nxFollowQO
     * @param sortName
     * @param sortOrder
     * @return
     */
    DhPageInfo<NxFollowVO> selectFollowRecordList(Integer pageIndex, Integer pageSize, NxFollowQO nxFollowQO, String sortName, String sortOrder);

    /**
     * 线上跟进插入内训跟进记录表
     * @param nxFollowQO
     * @return
     */
    boolean onlineFollow(NxFollowQO nxFollowQO);
}
